import 'package:flutter_ncsjqz_getx/generated/json/base/json_field.dart';
import 'package:flutter_ncsjqz_getx/generated/json/platform_msg_entity.g.dart';

@JsonSerializable()
class PlatformMsgEntity {

	PlatformMsgEntity();

	factory PlatformMsgEntity.fromJson(Map<String, dynamic> json) => $PlatformMsgEntityFromJson(json);

	Map<String, dynamic> toJson() => $PlatformMsgEntityToJson(this);

	String? msg;
	int? code;
	PlatformMsgData? data;
}

@JsonSerializable()
class PlatformMsgData {

	PlatformMsgData();

	factory PlatformMsgData.fromJson(Map<String, dynamic> json) => $PlatformMsgDataFromJson(json);

	Map<String, dynamic> toJson() => $PlatformMsgDataToJson(this);

	int? totalCount;
	int? pageSize;
	int? totalPage;
	int? currPage;
	@JSONField(name: "list")
	List<PlatformMsgDataList>? xList;
}

@JsonSerializable()
class PlatformMsgDataList {

	PlatformMsgDataList();

	factory PlatformMsgDataList.fromJson(Map<String, dynamic> json) => $PlatformMsgDataListFromJson(json);

	Map<String, dynamic> toJson() => $PlatformMsgDataListToJson(this);
	int? type;
	int? id;
	int? msgType;
	dynamic? msgTypeId;
	int? msgStatus;
	String? msgTitle;
	String? msgContent;
	int? userId;
	bool? isDel;
	String? createTime;
	bool? isFollow;
}
